public class CPU {
    int speed;
    CPU(int speed) {

        this.speed=speed;
    }
    void setSpeed(int m) {

        speed=m;
    }
    int getSpeed(){

        return  speed;
    }
}

